package com.yvan.js;

import lombok.Getter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class Console {

    @Getter
    private final String name;
    private final Logger log;

    public Console(String name) {
        this.name = name;
        this.log = LoggerFactory.getLogger(name);
    }

    public void log(String format, Object... args) {
        log.info(format, args);
    }
}
